package com.runfast.waimai.service.impl;

import com.runfast.common.service.BaseService;
import com.runfast.waimai.dao.mapper.WaiMaiRunfastCuseraddressMapper;
import com.runfast.waimai.dao.model.WaiMaiRunfastCuseraddress;
import com.runfast.waimai.dao.model.WaiMaiRunfastCuseraddressExample;
import com.runfast.waimai.service.WaiMaiRunfastCuseraddressService;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class WaiMaiRunfastCuseraddressServiceImpl extends BaseService<WaiMaiRunfastCuseraddress, Integer, WaiMaiRunfastCuseraddressExample> implements WaiMaiRunfastCuseraddressService {
    public List<WaiMaiRunfastCuseraddress> selectByMapWithPageable(Map<Object,Object> map){
        WaiMaiRunfastCuseraddressMapper waiMaiRunfastCuseraddressMapper=(WaiMaiRunfastCuseraddressMapper)this.mapper;
        return waiMaiRunfastCuseraddressMapper.selectByMapWithPageable(map);
    }
    public Integer countByMap(Map<Object,Object> map){
        WaiMaiRunfastCuseraddressMapper waiMaiRunfastCuseraddressMapper=(WaiMaiRunfastCuseraddressMapper)this.mapper;
        return waiMaiRunfastCuseraddressMapper.countByMap(map);
    }
}